<html lang="en-us">
  <head>
    <meta charset="utf-8" />
    <title>Chats礼品码</title>
  </head>
  <body>
    <link href="/static/css/style.css" rel="preload" as="style" />
    <script type="text/javascript" src="static/js/jquery.min.js"></script>
    <script type="text/javascript" src="static/js/login.js"></script>
    <h1 class="h1" style="background-color: rgb(255, 255, 255);text-align: center; ">礼品码</h1>
    <div style="margin-left:20%;width :60%">
      <form action="getCredit" method="post">
        {% csrf_token %}
        <div>
          <a>输入礼品码:</a>
          <input type="text" name="creditID" />
        </div>
        <div>
          <a>价值:</a>
          <input type="text" name="value" />
        </div>
        <div>
          <button id="submit" type="submit" onclick="">send</button>
        </div>
        <a>{{ error }}</a>
      </form>
    </div>
  </body>
</html>
